package cn.stylefeng.guns.modular.moneyLog.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 资金日志
 * </p>
 *
 * @author lauyang
 * @since 2020-04-20
 */
@TableName("money_log")
public class MoneyLog implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 操作人
     */
    @TableField("user_name")
    private String userName;

    /**
     * 类型
     */
    @TableField("type")
    private String type;

    /**
     * 操作金额
     */
    @TableField("money")
    private Float money;

    /**
     * 余额
     */
    @TableField("balance")
    private Float balance;

    @TableField("describe")
    private String describe;

    /**
     * 操作时间
     */
    @TableField("creat_time")
    private Date creatTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    public Float getBalance() {
        return balance;
    }

    public void setBalance(Float balance) {
        this.balance = balance;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    @Override
    public String toString() {
        return "MoneyLog{" +
        "id=" + id +
        ", userName=" + userName +
        ", type=" + type +
        ", money=" + money +
        ", balance=" + balance +
        ", describe=" + describe +
        ", creatTime=" + creatTime +
        "}";
    }
}
